<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<nav class="navbar navbar-default" th:fragment="html" style="position:absolute; width: 100vw; background-image: linear-gradient(rgb(45,195,254), rgb(156, 234, 253));">
    <div class="container-fluid">
        <div class="navbar-header" style="height: 7vh; color: white;">
            <a class="navbar-brand" style="color: white;">优顺达</a>
            <select onchange="self.location.href = options[selectedIndex].value;" style="
                position: absolute;
                width: 20vw;
                height: 7vh;
                right: 0;
                text-align: center;
                appearance: none;
                border: 0;
                background-image: linear-gradient(rgb(45,195,254), rgb(156, 234, 253));
                font-size: 18px;
                line-height: 20px;
                ">
                <option>导航</option>
                <option value="/admin/dashboard" id="dashboard-sidebar">主页</option>
                <option value="/admin/order" id="order-sidebar">订单管理</option>
                <option value="/admin/recycle" id="recycle-sidebar">订单回收</option>
                <option value="/admin/feedback" id="feedback-sidebar">反馈管理</option>
                <option value="/admin/user" id="user-sidebar">用户管理</option>
                <option id="profit-sidebar" disabled>收益管理</option>
                <option id="log-sidebar" disabled>日志管理</option>
                <option value="/admin/info" id="info-sidebar">个人中心</option>
                <option value="/logout">退出登录</option>
            </select>
            <!-- <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                        <div>管理员：<span th:text="${frontName}"></span><span class="caret"></span></div>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="/admin/info">个人中心</a></li>
                        <li class="divider"></li>
                        <li><a href="/logout">退出登录</a></li>
                    </ul>
                </li>
            </ul> -->

        </div>
    </div>
</nav>
<style>
    option{
        color: black;
    }
</style>
</html>